package com.rfid.mqtt.bean;

public class TaskInfoRespon {
    /**
     * data : {"sign":"46ac5c99b73f6702b1713116d44b5597","guid":"0e229fa4-617a-4184-b03e-fb20c5579998","type":"task","params":{"taskType":28,"robotName":"GL0143","robotType":"ginger-lite","errorCode":"30111&50003","taskName":"UE-RCU","taskInstanceId":"db9920371476bceb8a069453d07d1284","robotCode":"GINLITXR-1LXXXXXXXXXGNL05S2050000143","endTimestamp":1700559598488,"taskUuid":"db9920371476bceb8a069453d07d1284","startTimestamp":1700559428561,"status":5},"timestamp":1700559599035}
     * cmd : 90003
     */

    private DataBean data;
    private int cmd;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getCmd() {
        return cmd;
    }

    public void setCmd(int cmd) {
        this.cmd = cmd;
    }

    public static class DataBean {
        /**
         * sign : 46ac5c99b73f6702b1713116d44b5597
         * guid : 0e229fa4-617a-4184-b03e-fb20c5579998
         * type : task
         * params : {"taskType":28,"robotName":"GL0143","robotType":"ginger-lite","errorCode":"30111&50003","taskName":"UE-RCU","taskInstanceId":"db9920371476bceb8a069453d07d1284","robotCode":"GINLITXR-1LXXXXXXXXXGNL05S2050000143","endTimestamp":1700559598488,"taskUuid":"db9920371476bceb8a069453d07d1284","startTimestamp":1700559428561,"status":5}
         * timestamp : 1700559599035
         */

        private String sign;
        private String guid;
        private String type;
        private ParamsBean params;
        private long timestamp;

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public String getGuid() {
            return guid;
        }

        public void setGuid(String guid) {
            this.guid = guid;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public ParamsBean getParams() {
            return params;
        }

        public void setParams(ParamsBean params) {
            this.params = params;
        }

        public long getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(long timestamp) {
            this.timestamp = timestamp;
        }

        public static class ParamsBean {
            /**
             * taskType : 28
             * robotName : GL0143
             * robotType : ginger-lite
             * errorCode : 30111&50003
             * taskName : UE-RCU
             * taskInstanceId : db9920371476bceb8a069453d07d1284
             * robotCode : GINLITXR-1LXXXXXXXXXGNL05S2050000143
             * endTimestamp : 1700559598488
             * taskUuid : db9920371476bceb8a069453d07d1284
             * startTimestamp : 1700559428561
             * status : 5
             */

            private int taskType;
            private String robotName;
            private String robotType;
            private String errorCode;
            private String taskName;
            private String taskInstanceId;
            private String robotCode;
            private long endTimestamp;
            private String taskUuid;
            private long startTimestamp;
            private int status;

            public int getTaskType() {
                return taskType;
            }

            public void setTaskType(int taskType) {
                this.taskType = taskType;
            }

            public String getRobotName() {
                return robotName;
            }

            public void setRobotName(String robotName) {
                this.robotName = robotName;
            }

            public String getRobotType() {
                return robotType;
            }

            public void setRobotType(String robotType) {
                this.robotType = robotType;
            }

            public String getErrorCode() {
                return errorCode;
            }

            public void setErrorCode(String errorCode) {
                this.errorCode = errorCode;
            }

            public String getTaskName() {
                return taskName;
            }

            public void setTaskName(String taskName) {
                this.taskName = taskName;
            }

            public String getTaskInstanceId() {
                return taskInstanceId;
            }

            public void setTaskInstanceId(String taskInstanceId) {
                this.taskInstanceId = taskInstanceId;
            }

            public String getRobotCode() {
                return robotCode;
            }

            public void setRobotCode(String robotCode) {
                this.robotCode = robotCode;
            }

            public long getEndTimestamp() {
                return endTimestamp;
            }

            public void setEndTimestamp(long endTimestamp) {
                this.endTimestamp = endTimestamp;
            }

            public String getTaskUuid() {
                return taskUuid;
            }

            public void setTaskUuid(String taskUuid) {
                this.taskUuid = taskUuid;
            }

            public long getStartTimestamp() {
                return startTimestamp;
            }

            public void setStartTimestamp(long startTimestamp) {
                this.startTimestamp = startTimestamp;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }
        }
    }
}
